package com.zhuss.appconfig;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;
/**
 * Redis工具类
 * @author zhushanshuo
 * @date   2019.12.05 13:01
 */
@Component("usedCache")
public final class UsedCache<K, V> extends AbstractCache<K, V> implements Cache<K, V> {
	
    @Autowired
    private RedisTemplate<String, V> db5RedisTemplate;
    
    
    @PostConstruct
    public void init() {
    	super.setRedisTemplate(db5RedisTemplate);
    }
    
    // =============================common============================
    
}
